Drop api that is only for unmanaged dnd
authorMatthias Clasen <mclasen@redhat.com>
Thu, 24 Aug 2017 18:30:47 +0000 (14:30 -0400)
committerBenjamin Otte <otte@redhat.com>
Sun, 3 Dec 2017 05:24:24 +0000 (06:24 +0100)
These functions are not needed as public api anymore.

docs/reference/gdk/gdk4-sections.txt
gdk/gdkdnd.c
gdk/gdkdnd.h
gdk/gdkdndprivate.h

index ec1159476ab2a9fc69e55ac03990bfed56a6a08d..625b15457db3ff9cd0217ec5edd10752a739c1f5 100644 (file)
@@ -840,15 +840,12 @@ gdk_cursor_get_type
 GdkDragContext
 GdkDragCancelReason
 gdk_drag_get_selection
-gdk_drag_abort
 gdk_drop_reply
-gdk_drag_drop
 gdk_drag_drop_done
 gdk_drag_find_window
 gdk_drag_begin
 gdk_drag_begin_for_device
 gdk_drag_begin_from_point
-gdk_drag_motion
 gdk_drop_finish
 GdkDragProtocol
 GdkDragAction
index 7b9638d4307058beaf1cce1201013d864b36f062..94d256595b8f6e1e8d09eb9aaa99ec2578d52cad 100644 (file)
@@ -416,7 +416,7 @@ gdk_drag_status (GdkDragContext *context,
   GDK_DRAG_CONTEXT_GET_CLASS (context)->drag_status (context, action, time_);
 }
 
-/**
+/*
  * gdk_drag_motion:
  * @context: a #GdkDragContext
  * @dest_window: the new destination window, obtained by
@@ -433,9 +433,6 @@ gdk_drag_status (GdkDragContext *context,
  *
  * This function is called by the drag source.
  *
- * This function does not need to be called in managed drag and drop
- * operations. See gdk_drag_context_manage_dnd() for more information.
- *
  * Returns:
  */
 gboolean
@@ -461,7 +458,7 @@ gdk_drag_motion (GdkDragContext *context,
                       time_);
 }
 
-/**
+/*
  * gdk_drag_abort:
  * @context: a #GdkDragContext
  * @time_: the timestamp for this operation
@@ -469,9 +466,6 @@ gdk_drag_motion (GdkDragContext *context,
  * Aborts a drag without dropping.
  *
  * This function is called by the drag source.
- *
- * This function does not need to be called in managed drag and drop
- * operations. See gdk_drag_context_manage_dnd() for more information.
  */
 void
 gdk_drag_abort (GdkDragContext *context,
@@ -482,7 +476,7 @@ gdk_drag_abort (GdkDragContext *context,
   GDK_DRAG_CONTEXT_GET_CLASS (context)->drag_abort (context, time_);
 }
 
-/**
+/*
  * gdk_drag_drop:
  * @context: a #GdkDragContext
  * @time_: the timestamp for this operation
@@ -490,9 +484,6 @@ gdk_drag_abort (GdkDragContext *context,
  * Drops on the current destination.
  *
  * This function is called by the drag source.
- *
- * This function does not need to be called in managed drag and drop
- * operations. See gdk_drag_context_manage_dnd() for more information.
  */
 void
 gdk_drag_drop (GdkDragContext *context,
index b86bc7be90f876fb75f88e1245932815c6346ac8..e29a07d3ad2753c80ac6936a0956ab2ee3c371e8 100644 (file)
@@ -134,7 +134,6 @@ GDK_AVAILABLE_IN_ALL
 GdkDragProtocol  gdk_drag_context_get_protocol         (GdkDragContext *context);
 
 /* Destination side */
-
 GDK_AVAILABLE_IN_ALL
 void             gdk_drag_status        (GdkDragContext   *context,
                                          GdkDragAction     action,
@@ -176,21 +175,6 @@ void    gdk_drag_find_window (GdkDragContext   *context,
                               GdkDragProtocol  *protocol);
 
 GDK_AVAILABLE_IN_ALL
-gboolean        gdk_drag_motion      (GdkDragContext *context,
-                                      GdkWindow      *dest_window,
-                                      GdkDragProtocol protocol,
-                                      gint            x_root,
-                                      gint            y_root,
-                                      GdkDragAction   suggested_action,
-                                      GdkDragAction   possible_actions,
-                                      guint32         time_);
-GDK_AVAILABLE_IN_ALL
-void            gdk_drag_drop        (GdkDragContext *context,
-                                      guint32         time_);
-GDK_AVAILABLE_IN_ALL
-void            gdk_drag_abort       (GdkDragContext *context,
-                                      guint32         time_);
-GDK_AVAILABLE_IN_ALL
 gboolean        gdk_drag_drop_succeeded (GdkDragContext *context);
 
 GDK_AVAILABLE_IN_3_20
index bf0ab8bd893a35aabd1377e54020cf4a135662bf..e4c223b0bd225664f5b3a717119a72ca592b8c39 100644 (file)
@@ -123,6 +123,21 @@ gboolean gdk_drag_context_handle_dest_event   (GdkEvent *event);
 GdkCursor * gdk_drag_get_cursor               (GdkDragContext *context,
                                                GdkDragAction   action);
 
+gboolean gdk_drag_motion (GdkDragContext *context,
+                          GdkWindow      *dest_window,
+                          GdkDragProtocol protocol,
+                          gint            x_root,
+                          gint            y_root,
+                          GdkDragAction   suggested_action,
+                          GdkDragAction   possible_actions,
+                          guint32         time_);
+void     gdk_drag_abort  (GdkDragContext *context,
+                          guint32         time_);
+void     gdk_drag_drop   (GdkDragContext *context,
+                          guint32         time_);
+
+
+
 G_END_DECLS
 
 #endif